package com.dcits.electronic_account.mapper;

import com.dcits.electronic_account.bean.Flow;
import com.dcits.electronic_account.bean.VirtualAccount;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


import java.util.Date;
import java.util.List;

@Mapper
public interface FlowMapper{

    List<Flow> selectByTypeAndId(Integer type, Date startTime, Date endTime, Integer id, @Param("pageNumber") Integer pageNumber);

    VirtualAccount queryNameByUserId(String id);

    Integer getSize(Integer type, Date startTime, Date endTime, Integer id, @Param("pageNumber") Integer pageNumber);
}